home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
DockExtenders
/
Locus
/
Source
/
PSWraps.psw
< prev
next >
Wrap
Text File
|
1993-05-21
|
1KB
|
65 lines
/*
Copyright 1993 Jeremy Slade.
You are free to use all or any parts of the Locus project
however you wish, just give credit where credit is due.
The author (Jeremy Slade) shall not be held responsible
for any damages that result out of use or misuse of any
part of this project.
*/
/*
Project: Locus
File: PSWraps.psw
Description:
Contains PS Wraps used within Locus
Original Author: Jeremy Slade
Revision History:
Created
V.101 JGS Fri Mar 12 21:22:00 GMT-0700 1993
*/
/* Initialize bound definitions of PostScript routines */
defineps PSInitWraps()
% PSsettier -- Set a window's tier level
%
% Tiers can range from 1 to ?, with the special levels being:
% 0 Standard window level
% 3 Floating panel level
% 5 Dock level
% x Menus
%
% NOTE: The window number must be its global PS window number
/settier { % level window
setwindowlevel
} bind def
% PSshowxy -- Show a string at the location
/showxy { % string x y
moveto show
} bind def
endps
defineps PSsettier ( int level, window )
level window setwindowlevel
endps
defineps PSshowxy ( float x, y; char *string )
(string) x y showxy
endps